package com.campus.entry;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
@TableName("t_course_learn_unit")
public class CourseLearnUnit {
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @TableField("unit_title")
    private String unitTitle;

    @TableField("doc_path")
    private String docPath;

    @TableField("video_path")
    private String videoPath;

    @TableField("unit_introduce")
    private String unitIntroduce;

    @TableField("father_id")
    private Integer fatherId;

    @TableField("is_chpt")
    private String isChapter;

    @TableField("course_id")
    private Integer courseId;

    @TableField("learning_score")
    private Integer learningScore;
}
